with open('./static/upload/ceshi.txt', 'w') as f:
    f.write('hello world')